package amfphp
{
	import flash.events.Event;

	public class AMFPHPEvent extends Event
	{
		public static const RESULT :String = "result";
		public static const ERROR  :String = "error";
		
		public var result  :Object;
		public var command :String;
		
		public function AMFPHPEvent(type:String, result:Object, command:String = '')
		{
			super(type, true);
			this.result  = result;
			this.command = command;
		}
	}
}
